package com.sinosoft.system.primary.biz;

import java.util.List;

import com.sinosoft.system.primary.entity.SysRole;
import com.sinosoft.system.util.page.Pagenation;

public interface SysRoleBiz {
	public int insertSysRole(SysRole sysRole);
	public int updateSysRole(SysRole sysRole);
	public int deleteSysRole(int id);
	public SysRole selectSysRole(int id);
	public SysRole selectSysRole(List<String> queryKeys,List<Object> queryValues);
	public int selectCountSysRole();
	public int selectCountSysRole(List<String> queryKeys,List<Object> queryValues);
	public List<SysRole> selectLimitSysRole(int start,int size);
	public List<SysRole> selectLimitSysRole(List<String> queryKeys,List<Object> queryValues,int start,int size);
	public List<SysRole> selectAllSysRole();
	public List<SysRole> selectAllSysRole(List<String> queryKeys,List<Object> queryValues);
	public Pagenation selectPageSysRole(Pagenation page);
	
	public List<SysRole> selectByUserId(int userId);
}
